package org.kepler.chat.api.infra.constant;


import org.kepler.chat.api.infra.AppConfig;

import java.util.HashMap;
import java.util.Map;

public class Constants {

	public static final int DEFAULT_PAGE_SIZE = 20;
//	public static final int DEFAULT_PRODUCT_ORG = 1;

	public static final String ROLE_ADMIN = "admin";//系统管理员
	public static final String ROLE_HQ_MANAGER = "hq_manager";//管理员
	public static final String ROLE_AGENT_MANAGER = "agent_manager";//管理员
	public static final String ROLE_MEMBER = "member";//普通员工

	public static final int ROLE_DEFAULT_ID_ADMIN = 1;//默认系统管理员角色ID
	public static final int ROLE_DEFAULT_ID_HQ_MANAGER = 2;//默认总部管理员角色ID
	public static final int ROLE_DEFAULT_ID_AGENT_MANAGER = 3;//默认代理商管理员角色ID

	public static final int PERSPECTIVE_OPER_ADMIN = 0;//系统管理员创建总部根节点透视图
	public static final int PERSPECTIVE_OPER_ADMIN_CREATE_HQ = 1;//系统管理员创建总部根节点透视图
	public static final int PERSPECTIVE_OPER_ADMIN_EDIT_HQ = 2;//系统管理员修改总部根节点透视图
	public static final int PERSPECTIVE_OPER_HQ_CREATE_AGENT = 3;//总部管理员创建代理商根节点透视图
	public static final int PERSPECTIVE_OPER_HQ_EDIT_AGENT = 4;//总部管理员修改代理商根节点透视图
	public static final int PERSPECTIVE_OPER_HQ_CREATE_HQ = 5;//总部管理员创建总部子节点透视透视图
	public static final int PERSPECTIVE_OPER_HQ_EDIT_HQ = 6;//总部管理员修改总部子节点透视透视图
	public static final int PERSPECTIVE_OPER_AGENT_CREATE_AGENT = 7;//代理商管理员创建代理商子节点透视透视图
	public static final int PERSPECTIVE_OPER_AGENT_EDIT_AGENT = 8;//代理商管理员修改代理商子节点透视透视图

	public static final int ORG_TYPE_HQ = 1;//总部
	public static final int ORG_TYPE_AGENT = 2;//代理商
	public static final int ORG_TYPE_DEPT = 3;//部门

	public static final int ORG_FLAG_BACIC = 1;//只含有企业基本信息(包含企业名称)
	public static final int ORG_FLAG_FULL = 2;//已填完完整企业信息(包含：企业证件及企业法人信息等)

	public static final String ORDER_DESC = "1";//降序
	public static final String ORDER_ASC = "0";//升序

	public static final int IS_USED = 1;//用户启用
	public static final int IS_NOT_USED = 0;//用户停用

	public static final int SHOW = 1;//显示
	public static final int HIDE = 0;//隐藏

	public static final int CAN_DELETE_YES = 1;//可以被删除
	public static final int CAN_DELETE_NO = 0;//不能被删除

	public static final int PRODUCT_FLAG_PRIVATE = 1;//公司内部产品
	public static final int PRODUCT_FLAG_CHANNEL = 2;//渠道产品

	public static final int EXT_FIELD_CATEGORY_PRODUCT_INFO = 1000;//扩展字段分类-产品资料
	public static final int EXT_FIELD_CATEGORY_HOUSE_DIYADAI = 1001;//房产抵押
	public static final int EXT_FIELD_CATEGORY_XINYONGDAI = 1002;//信用贷
	public static final int EXT_FIELD_CATEGORY_PRODUCT_FILTER = 1003;//产品筛选(wap端页面)
	public static final int EXT_FIELD_CATEGORY_HOUSEHOLD_INSPECT = 1004;//下户考察(APP页面)
	public static final int EXT_FIELD_CATEGORY_ORDER_CUSTOMER_INFO = 1005;//订单客户资料
	public static final int EXT_FIELD_CATEGORY_CUSTOMER_MATCH_PRODUCT = 1006;//客户匹配产品
	public static final int EXT_FIELD_CATEGORY_CUSTOMER_INFO = 1007;//客户资料(添加/编辑客户资料)
	public static final int EXT_FIELD_CATEGORY_CAR_DIYADAI = 1008;//车产抵押

	public static final String EXT_FIELD_CATEGORY_FLAG_MATCH_PRODUCT = "match_product";//客户贷款产品匹配
	public static final String EXT_FIELD_CATEGORY_FLAG_JSF = "jsf";//进件
	public static final String EXT_FIELD_CATEGORY_FLAG_SDY = "sdy";//审单员
	public static final String EXT_FIELD_CATEGORY_FLAG_FKFS = "fkfs";//风控一审
	public static final String EXT_FIELD_CATEGORY_FLAG_HOUSEHOLD_INSPECT = "household_inspect";//下户考察
	public static final String EXT_FIELD_CATEGORY_FLAG_FMD = "fmd";//风控二审
	public static final String EXT_FIELD_CATEGORY_FLAG_MQ = "mq";//面签
	public static final String EXT_FIELD_CATEGORY_FLAG_DH = "dh";//电核

	public static final int CITY_LEVEL_ONE = 1;//1级别城市,省/直辖市/自治区
	public static final int CITY_LEVEL_TWO = 2;//2级别城市,省级市
	public static final int CITY_LEVEL_THREE = 3;//3级别城市,市级区/县


	public static final String IS_TRUE = "1"; //逻辑判断  真

	public static final String IS_FALSE = "0";//逻辑判断  假

	public static final String OPER_ADD = "add";//新增

	public static final String OPER_UPDATE = "update";//修改

	public static String REPOSITORY_PATH = "";//修改

	public static String FILE_BASE_URL = "";//修改

	static {
		REPOSITORY_PATH = AppConfig.getFile_repository_path();
		FILE_BASE_URL = AppConfig.getFile_base_url();
	}

	/**
	 * 缓存超时时间
	 */
	public static int CACHE_DEFAULT_TIMEOUT = 1 * 24 * 60 * 60;

	public static final int OPER_EQ = 1;//等于
	public static final int OPER_BETWEEN = 2;//介于(最小值-最大值)
	//	public static final int OPER_NOT_BETWEEN = 3;//非介于
	public static final int OPER_IN = 4;//在列表中
	public static final int OPER_NOT_IN = 5;//不在列表中
	public static final int OPER_NOT_EQ = 6;//不等于
	public static final int OPER_LESS_THAN = 7;//小于
	public static final int OPER_LESS_EQ = 8;//小于或等于
	public static final int OPER_GREATER_THAN = 9;//大于
	public static final int OPER_GREATER_EQ = 10;//大于或等于
	public static final int OPER_INCLUDE = 11;//包含
	public static final int OPER_EXCLUDE = 12;//不包含
	public static final int OPER_SUB = 13;//like 
	public static final int OPER_LIMIT = 0;//限制
	public static final int OPER_NOT_LIMIT = 99;//不限制

	public static final int VAL_TYPE_OPTION_KEY = 1;//字段条目键值
	public static final int VAL_TYPE_CUSTOMER = 2;//自定义值

	public static final int CUSTOMER_FLAG_PRIVATE = 1;//私有客户 
	public static final int CUSTOMER_FLAG_PUBLIC = 2;//共有客户
	public static final int CUSTOMER_FLAG_SHARE = 3;//共享客户
	public static final int CUSTOMER_FLAG_BLACKLIST = 4;//黑名单客户

	public static final int PROTOCOL_STATUS_TODO = 0;//待签约
	public static final int PROTOCOL_STATUS_AUDIT_TODO = 1;//审核中
	public static final int PROTOCOL_STATUS_AUDIT_PASS = 2;//代理商审核通过
	public static final int PROTOCOL_STATUS_AUDIT_UNPASS = 3;//代理商审核不通过
	public static final int PROTOCOL_STATUS_SIGNING = 4;//签约中(与钱魔方)
	public static final int PROTOCOL_STATUS_SUCCESS = 5;//签约成功(与钱魔方)
	public static final int PROTOCOL_STATUS_FAIL = 6;//签约失败(与钱魔方)
	public static final int PROTOCOL_STATUS_ERROR = 7;//系统异常

	public static final int PROTOCOL_TYPE_WITHHOLD = 1;//代扣合同
	public static final int PROTOCOL_TYPE_PAYFOR = 2;//付款

	public static final int TRADE_TYPE_MANUAL_COLLECT = 4;//人工扣款
	public static final int TRADE_TYPE_AUTO_COLLECT = 8;//自动扣款

	public static final int TRADE_PAY_TYPE_AUTH = 1;//授权绑卡支付
	public static final int TRADE_PAY_TYPE_FIRST = 2;//协议支付

	public static final int PAY_STATUS_TODO = 0;//未处理
	public static final int PAY_STATUS_PAY_SUCCESS = 1;//支付成功
	public static final int PAY_STATUS_PROCESSING = 2;//处理中
	public static final int PAY_STATUS_PAY_FAILL = 3;// 支付失败
	public static final int PAY_STATUS_TIME_OUT = 4;//超时失败
	public static final int PAY_STATUS_ERROR = 5;//系统异常
	public static final int PAY_STATUS_QMF_AUDIT_FAIL = 6;//钱魔方审核不通过
	public static final int PAY_STATUS_TO_VALIDATE = 7;//待短信

	public static final Map<Integer, String> PAY_STATUS_MAP = new HashMap<>();

	static {
		PAY_STATUS_MAP.put(PAY_STATUS_TODO, "未处理");
		PAY_STATUS_MAP.put(PAY_STATUS_PAY_SUCCESS, "支付成功");
		PAY_STATUS_MAP.put(PAY_STATUS_PROCESSING, "处理中");
		PAY_STATUS_MAP.put(PAY_STATUS_PAY_FAILL, "支付失败");
		PAY_STATUS_MAP.put(PAY_STATUS_TIME_OUT, "超时失败");
		PAY_STATUS_MAP.put(PAY_STATUS_ERROR, "系统异常");
		PAY_STATUS_MAP.put(PAY_STATUS_QMF_AUDIT_FAIL, "钱魔方审核不通过");
	}

	public static final int TRADE_AUDIT_STATE_TODO = 0;//待审核
	public static final int TRADE_AUDIT_STATE_SUCCESS = 1;//审核通过
	public static final int TRADE_AUDIT_STATE_FAIL = 2;//审核不通过

	public static final int SHIXIN_STATUS_TODO = 1;//待审核
	public static final int SHIXIN_STATUS_SUCCESS = 2;//审核通过
	public static final int SHIXIN_STATUS_UNPASS = 3;//审核不通过

	public static final int EXT_FIELD_DISPLAY_TYPE_SELECT = 1;//下拉框
	public static final int EXT_FIELD_DISPLAY_TYPE_TEXT = 2;//文本输入框
	public static final int EXT_FIELD_DISPLAY_TYPE_RANGE = 3;//区间(最小值-最大值)
	public static final int EXT_FIELD_DISPLAY_TYPE_TILED = 4;//平铺
	public static final int EXT_FIELD_DISPLAY_TYPE_SINGLE_UPLOAD = 5;//单个图片上传
	public static final int EXT_FIELD_DISPLAY_TYPE_MULTIPLE_UPLOAD = 6;//多个图片上传
	public static final int EXT_FIELD_DISPLAY_TYPE_MAP = 7;//地图
	public static final int EXT_FIELD_DISPLAY_TYPE_MULTIPLE_FILE_UPLOAD = 8;//多个文件上传
	public static final int EXT_FIELD_DISPLAY_TYPE_IDCARD_FRONT_UPLOAD = 9;//身份证正面上传
	public static final int EXT_FIELD_DISPLAY_TYPE_IDCARD_BACK_UPLOAD = 10;//身份证反面上传
	public static final int EXT_FIELD_DISPLAY_TYPE_ONLY_CHILDREN = 11;//只显示子节点,不显示当前字段选项

	public static final int EXT_FIELD_REPEAT_YES = 1;// 字段允许重复
	public static final int EXT_FIELD_REPEAT_NO = 0;// 字段不允许重复

	public static final String EXT_FIELD_TYPE_REPEAT = "1";// 允许重复的属性节点
	public static final String EXT_FIELD_TYPE_REPEAT_CLONE = "2";// 根据重复属性节点复制出来的虚拟节点
	public static final String EXT_FIELD_TYPE_NOT_REPEAT = "3";// 不允许重复的属性节点

	public static final int ATTACHREL_TYPE_IDCARDFRONT = 1;//身份证正面
	public static final int ATTACHREL_TYPE_IDCARDBACK = 2;//身份证反面
	public static final int ATTACHREL_TYPE_CARLICENSE = 3;//驾照
	public static final int ATTACHREL_TYPE_PROTOCOL = 4;//合同
	public static final int ATTACHREL_TYPE_VIDEO = 5;//视频
	public static final int ATTACHREL_TYPE_PROMOTION_MATERIAL = 6;//宣传素材
	public static final int ATTACHREL_TYPE_OTHER = 99;//其他

	public static final String OBJ_TYPE_CUSTOMER = "customer";//客户
	public static final String OBJ_TYPE_PRODUCT = "product";//产品
	public static final String OBJ_TYPE_CHANNEL_PRODUCT = "channel_product";//渠道产品
	public static final String OBJ_TYPE_SHIXIN = "shixin";//失信人表
	public static final String OBJ_TYPE_ORDER = "order";//订单信息
	public static final String OBJ_TYPE_ORDER_SALESMAN = "order_salesman";//业务员收集客户资料信息
	public static final String OBJ_TYPE_ORDER_HOUSEHOLD_INSPECT = "order_household_inspect";//下户考察员收集客户资料信息
	public static final String OBJ_TYPE_PROTOCOL = "protocol";//合同
	public static final String OBJ_TYPE_ORDER_COMMENT = "comment";//评论

	public static final String INDUSTRY_LOAN = "loan";//贷款行业
	public static final String INDUSTRY_PAPER_PACKING = "paper_packing";//纸质包装行业

	public static final int PRODUCT_APPLY_STATUS_TODO = 1;//待审核
	public static final int PRODUCT_APPLY_STATUS_SUCCESS = 2;//审核成功
	public static final int PRODUCT_APPLY_STATUS_FAIL = 3;//审核不通过

	public static final int ORDER_PROCESS_SUCCESS = 1;//审核通过
	public static final int ORDER_PROCESS_FAIL = 2;//审核不通过

	public static final int EXAMINE_CATEGORY_ORDER = 1;//审批类型-订单

	public static final int ORDER_STATUS_EDIT_DOING = 0;//编辑中
	public static final int ORDER_STATUS_AUDIT_DOING = 10;//审核中
	public static final int ORDER_STATUS_AUDIT_FAIL = 20;//审核不通过
	public static final int ORDER_STATUS_REVOKE = 30;//业务员撤销订单
	public static final int ORDER_STATUS_CHANNEL_DOING = 31;//渠道商审核中
	public static final int ORDER_STATUS_CHANNEL_FAIL = 32;//渠道商审核不通过
	public static final int ORDER_STATUS_LOAN_TODO = 40;//待放款
	public static final int ORDER_STATUS_LOAN_DONE = 50;//已放款
	public static final int ORDER_STATUS_LOAN_REFUSE_SIGN = 60;//被拒签

	public static final int ORDER_AUDIT_STATUS_TODO = 0;//待审核
	public static final int ORDER_AUDIT_STATUS_SUCCESS = 1;//审核通过
	public static final int ORDER_AUDIT_STATUS_FAIL = 2;//审核不通过
	public static final int ORDER_AUDIT_STATUS_DOING = 3;//审核中
	public static final int ORDER_AUDIT_STATUS_REVOKE = 4;//已撤回

	public static final int EXAMINE_CHECK_TYPE_ROLE = 1;//指定角色
	public static final int EXAMINE_CHECK_TYPE_USER = 2;//指定用户

//	public static final int ORDER_AUDIT_STATUS_TODO = 0;//订单还在编辑中，没有提交审核
	public static final int ORDER_AUDIT_STATUS_AUDITOR_TODO = 1;//审单员待审核
	public static final int ORDER_AUDIT_STATUS_AUDITOR_DOING = 2;//审单员审核中
	public static final int ORDER_AUDIT_STATUS_AUDITOR_FAIL = 3;//审单员审核不通过
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_FIRST_TODO = 4;//前置风控一审待审核
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_FIRST_DOING = 5;//前置风控一审审核中
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_FIRST_FAIL = 6;//前置风控一审审核不通过
	public static final int ORDER_AUDIT_STATUS_HOUSEHOLD_INSPECT_TODO = 7;//下户考察待审核
	public static final int ORDER_AUDIT_STATUS_HOUSEHOLD_INSPECT_DOING = 8;//下户考察审核中
	public static final int ORDER_AUDIT_STATUS_HOUSEHOLD_INSPECT_FAIL = 9;//下户考察审核不通过
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_SECOND_TODO = 10;//前置风控二审待审核
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_SECOND_DOING = 11;//前置风控二审审核中
	public static final int ORDER_AUDIT_STATUS_FRONT_RISK_CONTROL_SECOND_FAIL = 12;//前置风控二审审核不通过
	public static final int ORDER_AUDIT_STATUS_INTERVIEWING_TODO = 13;//面签待审核
	public static final int ORDER_AUDIT_STATUS_INTERVIEWING_DOING = 14;//面签审核中
	public static final int ORDER_AUDIT_STATUS_INTERVIEWING_FAIL = 15;//面签审核不通过
	public static final int ORDER_AUDIT_STATUS_TEL_TODO = 16;//电核待审核
	public static final int ORDER_AUDIT_STATUS_TEL_DOING = 17;//电核审核中
	public static final int ORDER_AUDIT_STATUS_TEL_FAIL = 18;//电核审核不通过
	public static final int ORDER_AUDIT_STATUS_TEL_SUCCESS = 19;//电核审核通过
	public static final int ORDER_AUDIT_STATUS_CHANNEL_TODO = 20;//渠道商待审核
	public static final int ORDER_AUDIT_STATUS_CHANNEL_DOING = 21;//渠道商审核中
	public static final int ORDER_AUDIT_STATUS_CHANNEL_FAIL = 22;//渠道商审核不通过

	public static final String ORDER_ACTION_ADD = "add_order";//创建订单
	public static final String ORDER_ACTION_EDIT = "edit_order";//编辑订单
	public static final String ORDER_ACTION_AUDIT = "audit_order";//审核订单
	public static final String ORDER_ACTION_HOUSEHOLD_INSPECT = "household_inspect";//下户考察
	public static final String ORDER_ACTION_REAUDIT = "reaudit_order";//重新审核订单
	public static final String ORDER_ACTION_REVOKE = "revoke_order";//撤销订单
	public static final String ORDER_ACTION_FACE_CHECK = "face_check";//客户进行在线活体检测
	public static final String ORDER_ACTION_SIGNATURE = "signature";//客户在线手写签名
	public static final String ORDER_ACTION_ADD_PRODUCT = "add_order_product";//添加订单产品
	public static final String ORDER_ACTION_EDIT_PRODUCT = "edit_order_product";//修改产品(修改建议金额、期限)
	public static final String ORDER_ACTION_DELETE_PRODUCT = "delete_order_product";//删除产品
	public static final String ORDER_ACTION_ADD_PROTOCOL = "add_order_protocol";//添加订单合同
	public static final String ORDER_ACTION_EDIT_PROTOCOL = "edit_order_protocol";//修改订单合同
	public static final String ORDER_ACTION_DELETE_PROTOCOL = "delete_order_protocol";//删除订单合同
	public static final String ORDER_ACTION_SIGNATURE_PROTOCOL = "signature_order_protocol";//签署订单合同
	public static final String ORDER_ACTION_ADD_PROTOCOL_FILE = "add_order_protocol_file";//添加合同文件
	public static final String ORDER_ACTION_DELETE_PROTOCOL_FILE = "delete_order_protocol_file";//删除合同文件
	public static final String ORDER_ACTION_ADD_ORDER_VIDEO = "add_order_video";//添加合同签约视频
	public static final String ORDER_ACTION_DELETE_ORDER_VIDEO = "delete_order_video";//删除合同签约视频
	public static final String ORDER_ACTION_DELETE = "delete_order";//删除订单
	public static final String ORDER_ACTION_EDIT_CUSTOMER = "edit_order_customer";//编辑订单客户资料
	public static final String ORDER_ACTION_SUBMIT_AUDIT = "submit_order_audit";//提交审核订单
	public static final String ORDER_ACTION_RESUBMIT_AUDIT = "resubmit_order_audit";//重新提交审核订单
	public static final String ORDER_ACTION_SUBMIT_TO_CHANNEL = "add_channel_order";//渠道进件
	public static final String ORDER_ACTION_AUDIT_CHANNEL_ORDER = "audit_channel_order";//审核渠道进件

	public static final String LOGINFLAG_USER = "1";//登录标识-员工
	public static final String LOGINFLAG_CUSTOMER = "2";//登录标识-客户

	public static final String ORDER_OPERATOR_FLAG_CUSTOMER = "customer";//订单操作员身份标识-客户
	public static final String ORDER_OPERATOR_FLAG_SALESMAN = "salesman";//订单操作员身份标识-业务员
	public static final String ORDER_OPERATOR_FLAG_AUDITOR = "auditor";//订单操作员身份标识-审单员
	public static final String ORDER_OPERATOR_FLAG_FRONT_RISK_CONTROL_FIRST = "front_risk_control_first";//订单操作员身份标识-前置风控一审人员
	public static final String ORDER_OPERATOR_FLAG_HOUSEHOLD_INSPECT = "household_inspect";//订单操作员身份标识-下户考察
	public static final String ORDER_OPERATOR_FLAG_FRONT_RISK_CONTROL_SECOND = "front_risk_control_second";//订单操作员身份标识-前置风控二审人员
	public static final String ORDER_OPERATOR_FLAG_INTERVIEWING = "interviewing";//订单操作员身份标识-面签人员
	public static final String ORDER_OPERATOR_FLAG_TEL = "tel";//订单操作员身份标识-电核人员

	public static final int ORDER_AUDIT_STAGE_BEGIN = 1;//审核阶段：开始
	public static final int ORDER_AUDIT_STAGE_DOING = 2;//审核阶段：处理中
	public static final int ORDER_AUDIT_STAGE_FINISHED = 3;//审核阶段：结束

	public static final int AUTH_BIND_CARD_STATUS_TODO = 0;//待认证
	public static final int AUTH_BIND_CARD_STATUS_BIND_SUCCESS = 1; //绑卡成功
	public static final int AUTH_BIND_CARD_STATUS_TO_VALIDATE = 2; //待短验
	public static final int AUTH_BIND_CARD_STATUS_BIND_FAIL = 3; //绑卡失败
	public static final int AUTH_BIND_CARD_STATUS_BIND_ERROR = 4; //绑卡异常(可重试)
	public static final int AUTH_BIND_CARD_STATUS_TIME_OUT = 5; //超时失败
	public static final int AUTH_BIND_CARD_STATUS_ERROR = 6; //系统异常
	public static final int AUTH_BIND_CARD_STATUS_CODE_EXPIRE = 7;//验证码过期

	public static final int SIGNATURE_FLAG_TODO = 0;//未签署
	public static final int SIGNATURE_FLAG_DONE = 1;//已签署

	public static final int withhold_Flag_YES = 1;//开通代扣
	public static final int withhold_Flag_NO = 2;//未开通代扣

	public static final String BILL_OBJ_TYPE_RECHARGE = "recharge";//关联业务表-充值
	public static final String BILL_OBJ_TYPE_WITHHOLD = "trade";//关联业务表-代扣
	public static final String BILL_OBJ_TYPE_WITHDRAWAL = "withdrawal";//关联业务表-提现

	public static final int BILL_TYPE_RECHARGE = 1;//账单类型-充值
	public static final int BILL_TYPE_WITHHOLD = 2;//账单类型-代扣 (扣除手续费)
	public static final int BILL_TYPE_WITHDRAWAL = 3;//账单类型-提现 (扣除手续费)

	public static final int WITHDRAWAL_STATUS_DOING = 1;//提现状态-处理中
	public static final int WITHDRAWAL_STATUS_SUCCESS = 2;//提现状态-成功
	public static final int WITHDRAWAL_STATUS_FAIL = 3;//提现状态-失败
	public static final int WITHDRAWAL_STATUS_UNKNOWN = 4;//提现状态-未知， 易宝与银行对账失败， 但此出款既可能成功也可能失败

	public static final int RECHARGE_STATUS_APPLY_DOING = 1;//充值状态-申请中
	public static final int RECHARGE_STATUS_APPLY_SUCCESS = 2;//充值状态-申请通过
	public static final int RECHARGE_STATUS_APPLY_FAIL = 3;//充值状态-申请不通过
	public static final int RECHARGE_STATUS_SUCCESS = 4;//充值状态-充值成功
	public static final int RECHARGE_STATUS_FAIL = 5;//充值状态-充值失败

	public static final int RECHARGE_TYPE_WITHHOLD = 1;//充值类型-代扣
	public static final int RECHARGE_TYPE_CREDIT = 2;//充值类型-大数据征信查询

	public static final String PLACEHOLDER_SIGNATURE = "signature";//占位符名称-电子签名
	public static final String PLACEHOLDER_PROTOCOL_BAME = "hetongmingcheng";//占位符名称-合同名称
	public static final String PLACEHOLDER_TOTAL_PAYMENT = "total_payment";//占位符名称-扣款总金额
	public static final String PLACEHOLDER_PAYMENT_TIMES = "payment_times";//占位符名称-扣款分期期数(一个月为一期)
	public static final String PLACEHOLDER_PAYMENT_AMOUNT = "payment_amount";//占位符名称-每期扣款金额
	public static final String PLACEHOLDER_PAYMENT_DATE = "payment_date";//占位符名称-还款日

	public static final int MESSAGE_ALREADY_READ = 1;//message已读标识符
	public static final int MESSAGE_UNREAD = 0;//message未读标识符
	public static final int MESSAGE_TYPE_COORDINATION = 10;//message type 协同
	public static final int MESSAGE_TYPE_NOTICE = 20;//message type公告
	public static final int MESSAGE_STATUS_PUBLISHED = 1;//message 已发布
	public static final int MESSAGE_STATUS_UNPBLISHED = 0;//message 未发布
	public static final int MESSAGE_PAGE_SIZE = 3;

	public static final int COMPARE_CHOOSE_SALESMAN = 1;//对比选择业务员的数据
	public static final int COMPARE_CHOOSE_HOUSEHOLD_INSPECT = 2;////对比选择下户考察人员的数据


	/**
	 * 模块
	 */
	public static final String MODULE_SYSTEM = "系统设置";
	public static final String MODULE_CONTENT = "内容管理";
	public static final String MODULE_DATA_VISUALIZATION = "数据可视化";
	public static final String MODULE_DATA = "数据管理";
	public static final String MODULE_COMMODITY = "商品管理";
	public static final String MODULE_PRODUCT = "产品管理";
	public static final String MODULE_CUSTOMER = "客户管理";
	public static final String MODULE_SALES = "销售机会";
	public static final String MODULE_PERSONAL = "个人中心";
	public static final String MODULE_BIGDATA = "大数据风控";
	public static final String MODULE_WITHHOLD = "代扣管理";
	public static final String MODULE_AI_CUSTOMER = "AI客户";
	public static final String MODULE_FOLK = "民间风控";
	public static final String MODULE_DATA_ANALYSIS = "数据统计分析";
	public static final String MODULE_CHANNEL_PRODUCTS = "渠道产品";
	public static final String MODULE_BASCIS = "基础管理";
	public static final String MODULE_MESSAGE_PUBLIC = "消息公共管理";
	public static final String MODULE_IDEX = "首页";
	public static final String MODULE_LOGIN = "登录页面";
	public static final String MODULE_ORDER = "订单";
	public static final String MODULE_PROTOCOL = "合同";
	public static final String MODULE_OTHER = "Other";

	public static final String BDRC_PERSONAL_BLACK_LSIT = "blacklist";//个人黑名单
	public static final String BDRC_REGULAR_CUSTOMER = "overdue";//常头客
	public static final String BDRC_LONG_CUSTOMER = "multi-register";//多头客
	public static final String BDRC_SKYMIRROR = "hologram";//天镜全息报告
	public static final String BDRC_PHONE_ELEMENTS = "mobile-three";//手机三要素
	public static final String BDRC_PHONE_ONLINE = "mobile-network-time";//手机在线时长
	public static final String BDRC_PHONE_NET = "mobile-network-state";//手机在网状态
	public static final String BDRC_BANK_CARD = "bankcard-four";//银行卡四元素检测
	public static final String BDRC_ENTERPRISES = "enterprise";//企业信息精准查询

	//////////////////////客户管理操作日志
	public static final int LOGCUSTOMER_ACTION_ADD = 1;//添加客户
	public static final int LOGCUSTOMER_ACTION_FOLLOW = 2;//添加跟进记录
	public static final int LOGCUSTOMER_ACTION_DELETE = 3; //删除客户
	public static final int LOGCUSTOMER_ACTION_EDIT = 4; //编辑
	public static final int LOGCUSTOMER_ACTION_TRANSFER_TO_OTHERS = 5; //转交他人
	public static final int LOGCUSTOMER_ACTION_TRANSFER_TO_PUBLIC = 6; //转交公客
	public static final int LOGCUSTOMER_ACTION_TRANSFER_TO_BLACKLIST = 7; //转入黑名单
	public static final int LOGCUSTOMER_ACTION_LOAN_MATCHING = 8; //贷款匹配
	public static final int LOGCUSTOMER_ACTION_SET_TO_SHARE = 9; //设置为共享
	public static final int LOGCUSTOMER_ACTION_CANCEL_SHARING = 10; //取消共享
	public static final int LOGCUSTOMER_ACTION_RECEIVE = 11; //领取客户
	public static final int LOGCUSTOMER_ACTION_RESTORE = 12; //还原客户


	public static final int PRODUCT_APPLY_URGENT = 1; //加急
	public static final int PRODUCT_APPLY_WITHDRAWAL = 4; //撤回

	///////////////////////////提醒
	public static final int REMIND_EXEC_TYPE_ONCE = 1;//执行方式-单次
	public static final int REMIND_EXEC_TYPE_REPEAT = 2;//执行方式-重复

	public static final int REMIND_REPEAT_TYPE_WEEK = 1;//重复方式-每周
	public static final int REMIND_REPEAT_TYPE_MONTH = 2;//重复方式-每月
	public static final int REMIND_REPEAT_TYPE_YEAR = 3;//重复方式-每年
	public static final int REMIND_REPEAT_TYPE_INTERVAL_DAY = 4;//重复方式-间隔多少天

	public static final int REMIND_TYPE_CUSTOMER_INSTALMENT_REPAYMENT = 1;//客户分期还款
	public static final int REMIND_TYPE_CUSTOMER_REPAYMENT = 2;//客户已还款
	public static final int REMIND_TYPE_CUSTOMER_LENDING_LIMIT_EXCEEDED = 3;//客户放款额度超限

	public static final int REMIND_TYPE_INTERNAL = 1;//内部消息
	public static final int REMIND_TYPE_PHONE = 2;//手机推送
	public static final int REMIND_TYPE_EMAIL = 3;//邮件
	public static final int REMIND_TYPE_SMS = 4;//短信

	public static final int REMIND_EXECUTE_TYPE_ONCE = 1;//单次执行
	public static final int REMIND_EXECUTE_TYPE_REPEAT = 2;//重复执行

	public static final String DATA_CODE_MATURITY ="maturity";//成熟度

	public static final int INDUSTRY_LEVEL_ONE = 1;//行业一级别
	public static final int INDUSTRY_LEVEL_TWO = 2;//行业二级别

	public static final String CONTACT_HAVE_ALL= "0";//全部联系方式
	public static final String CONTACT_HAVE_PHONE = "1";//联系方式有手机
	public static final String CONTACT_HAVE_FIXED_LINE = "2";//联系方式有固话
	public static final String CONTACT_HAVE_EMAIL = "3";//联系方式有邮箱

	public static final String ESTABLISHMENT_TIME_ALL = "0";//成立时间全部
	public static final String ESTABLISHMENT_TIME_ONE = "1";//成立时间1年内
	public static final String ESTABLISHMENT_TIME_ONE_FIVE = "2";//成立时间1至5年
	public static final String ESTABLISHMENT_TIME_FIVE_TEN = "3";//成立时间5至10年
	public static final String ESTABLISHMENT_TIME_TEN_FIFTEEN = "4";//成立时间10至15年
	public static final String ESTABLISHMENT_TIME_FIFTEEN = "5";//成立时间15年以上

	public static final String REGISTERED_CAPITAL_ALL = "0";//注册资本
	public static final String REGISTERED_CAPITAL_ONE = "1";//注册资本1-100万
	public static final String REGISTERED_CAPITAL_ONE_TWO = "2";//注册资本100-200万
	public static final String REGISTERED_CAPITAL_TWO_FIVE = "3";//注册资本200-500万
	public static final String REGISTERED_CAPITAL_FIVE_TEN = "4";//注册资本500-1000万
	public static final String REGISTERED_CAPITAL_TEN = "5";//注册资本1000万以上

}